package today.rocky.boot.security.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import today.rocky.boot.security.entity.UserInfo;

/**
 * @author Rocky
 * @version 1.0
 * @date 2020/5/13 10:10
 */
@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo,Long> {
	/**
	 * 找名字
	 * @param username
	 * @return
	 */
	UserInfo findByusername(String username);
}
